x86emul: simplify asm() constraints
authorJan Beulich <jbeulich@suse.com>
Fri, 13 Mar 2015 10:23:14 +0000 (11:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Mar 2015 10:23:14 +0000 (11:23 +0100)
commit879b181f38b0e4e3c7314de980289f4ecd1c5982
treefd40fd30038f6aaa225ffcbec41dfe40c49192eb
parent91b0ae9db33f72468b1d411a07f53085c893c097
x86emul: simplify asm() constraints

Use + on outputs instead of = and a matching input. Allow not just
memory for the _eflags operand (it turns out that recent gcc produces
worse code when also doing this for _dst.val, so the latter is being
avoided).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c